package com.yiyuan.app.entity.result;

import com.guaike.core.entity.annotation.NumberAutoConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/31
 */
@ApiModel("排行榜实体")
@Data
public class RankVO implements Serializable {

    @ApiModelProperty("我的昵称")
    private String nickName;

    @ApiModelProperty("我的头像")
    private String avatarurl;

    @ApiModelProperty("我的vip等级")
    private Integer vipGrade;

    @ApiModelProperty("是否上榜")
    private Boolean isRank = Boolean.FALSE;

    @ApiModelProperty("排行榜数值")
    @NumberAutoConvert
    private String value;

    @ApiModelProperty("排名，上榜有值")
    private Integer rank;

    @ApiModelProperty("奖励，上榜有值")
    @NumberAutoConvert
    private Integer prize;

    @ApiModelProperty("距离上榜差值，上周未上榜直接展示无奖励")
    private String diff;

    @ApiModelProperty("排行榜列表")
    private List<BaseRankVO> rankVOS;
}
